1
2
3
4
5
6
7
8
9 package ca.uhn.cache.internal.hibernate.impl;
10
11 import ca.uhn.cache.impl.CommonsLangObject;
12
13
14 /***
15 * Base class for all persistent classes.
16 *
17 * @author <a href="mailto:alexei.guevara@uhn.on.ca">Alexei Guevara</a>
18 * @version $Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:40 $ by $Author: bryan_tripp $
19 */
20 public abstract class HibernateObject extends CommonsLangObject {
21
22 private String myHibernateId;
23
24 /***
25 */
26 public HibernateObject() {
27 }
28
29 /***
30 * @return Returns the id.
31 *
32 * @hibernate.id generator-class="uuid.hex" length="32"
33 */
34 public String getHibernateId() {
35 return myHibernateId;
36 }
37 /***
38 * @param theId The id to set.
39 */
40 public void setHibernateId( String theId ) {
41 myHibernateId = theId;
42 }
43
44 }